package com.datong.server.proxy;

//代理模式主类
public class StartMain {
    public static void main(String[]args){
        Girl girl = new Girl();
        girl.setName("李娇娇");

        Proxy pursuer = new Proxy(girl);
        pursuer.giveFlower();
        pursuer.giveChocolate();
        pursuer.giveDoll();
    }
}
